package com.heima.user.service;

import javax.servlet.http.HttpServletResponse;

public interface WorkflowService {
    /**
     * 调用工作流并实时推送结果
     *
     * @param response HTTP响应对象
     * @param query    用户查询内容
     * @param userId   用户ID
     */
    void runWorkflow(HttpServletResponse response, String query, Integer userId);
}